package com.xydtech.ecard.config.domain;

import com.xydtech.common.annotation.Excel;
import com.xydtech.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 服务模块功能配置对象 ecard_serve_module_function
 *
 * @author JHON
 * @date 2022-06-23
 */
public class EcardServeModuleFunction extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 模块ID */
    @Excel(name = "模块ID")
    private Long moduleId;

    /** 功能名称 */
    @Excel(name = "功能名称")
    private String functionName;

    /** 功能类型            1-内部新闻            2-外部链接(公众号文章)            3-三方公众号            4-三方小程序 */
    @Excel(name = "功能类型            1-内部新闻            2-外部链接(公众号文章)            3-三方公众号            4-三方小程序")
    private String functionType;

    /** 功能图标 */
    @Excel(name = "功能图标")
    private String functionIcon;

    /** 跳转链接 */
    @Excel(name = "跳转链接")
    private String skipUrl;

    /** 功能状态 */
    @Excel(name = "功能状态")
    private String functionSts;
    /** 排序 */
    @Excel(name = "排序")
    private Integer orderNumber;


    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setModuleId(Long moduleId) {
        this.moduleId = moduleId;
    }

    public Long getModuleId() {
        return moduleId;
    }

    public void setFunctionName(String functionName) {
        this.functionName = functionName;
    }

    public String getFunctionName() {
        return functionName;
    }

    public void setFunctionType(String functionType) {
        this.functionType = functionType;
    }

    public String getFunctionType() {
        return functionType;
    }

    public void setFunctionIcon(String functionIcon) {
        this.functionIcon = functionIcon;
    }

    public String getFunctionIcon() {
        return functionIcon;
    }

    public void setSkipUrl(String skipUrl) {
        this.skipUrl = skipUrl;
    }

    public String getSkipUrl() {
        return skipUrl;
    }

    public void setFunctionSts(String functionSts) {
        this.functionSts = functionSts;
    }

    public String getFunctionSts() {
        return functionSts;
    }

    public Integer getOrderNumber() {
        return orderNumber;
    }

    public void setOrderNumber(Integer orderNumber) {
        this.orderNumber = orderNumber;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("moduleId", getModuleId())
                .append("functionName", getFunctionName())
                .append("functionType", getFunctionType())
                .append("functionIcon", getFunctionIcon())
                .append("skipUrl", getSkipUrl())
                .append("functionSts", getFunctionSts())
                .toString();
    }
}
